import 'package:flutter_love/generated/json/base/json_convert_content.dart';
import 'package:flutter_love/generated/json/base/json_field.dart';

class NewsBean with JsonConvert<NewsBean> {
	late String reason;
	late NewsResult result;
	@JSONField(name: "error_code")
	late int errorCode;
}

class NewsResult with JsonConvert<NewsResult> {
	late String stat;
	late List<NewsResultData> data;
	late String page;
	late String pageSize;
}

class NewsResultData with JsonConvert<NewsResultData> {
	late String uniquekey;
	late String title;
	late String date;
	late String category;
	@JSONField(name: "author_name")
	late String authorName;
	late String url;
	@JSONField(name: "thumbnail_pic_s")
	late String thumbnailPicS;
	@JSONField(name: "thumbnail_pic_s02")
	late String thumbnailPicS02;
	@JSONField(name: "is_content")
	late String isContent;
	@JSONField(name: "thumbnail_pic_s03")
	late String thumbnailPicS03;
}
